//
//  XZUserModel.h
//  XZIBeeBo
//
//  Created by Sean on 16/4/8.
//  Copyright © 2016年 XZSean. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef enum {//枚举参数
   XZUserVerifiedTypeNone = -1, // 没有任何认证
    
   XZUserVerifiedPersonal = 0,  // 个人认证
    
   XZUserVerifiedOrgEnterprice = 2, // 企业官方：CSDN、EOE、搜狐新闻客户端
   XZUserVerifiedOrgMedia = 3, // 媒体官方：程序员杂志、苹果汇
   XZUserVerifiedOrgWebsite = 5, // 网站官方：猫扑
    
   XZUserVerifiedTypeNoneDaren = 220 // 微博达人
} XZUserVerifiedType;//typedef给枚举起的别名myEnum




@interface XZUserModel : NSObject
/**
 *  用户头像URL
 */
@property (nonatomic,copy) NSString *profile_image_url;
/**
 *  用户昵称
 */
@property (nonatomic,copy) NSString *name;
/**
 *  用户uid
 */
@property (nonatomic,copy) NSString *idstr;
/**
 *  会员类型 值>2才是会员
 */
@property (nonatomic,assign) int mbtype;
/**
 *  会员等级
 */
@property (nonatomic,assign) int mbrank;

@property (nonatomic, assign, getter = isVip) BOOL vip;

/** 认证类型 */
@property (nonatomic, assign) XZUserVerifiedType verified_type;
//+ (instancetype)userModelDict:(NSDictionary *)dict;
//- (instancetype)initWithUserModelDict:(NSDictionary *)dict;

@end
